#include "Student.h"
double Student::getMa()
{
	return ma;
}
bool Student::operator == (Student &S)
{
	if (ma == S.ma)
		return true;
	else
		return false;
}
bool Student::operator != (Student &S)
{
	if (ma != S.ma)
		return true;
	else
		return false;
}
bool Student::operator < (Student &S)
{
	if (ma < S.ma)
		return true;
	else
		return false;
}
bool Student::operator > (Student &S)
{
	if (ma > S.ma)
		return true;
	else
		return false;
}
bool Student::operator <= (Student &S)
{
	if (ma <= S.ma)
		return true;
	else
		return false;
}
bool Student::operator >= (Student &S)
{
	if (ma >= S.ma)
		return true;
	else
		return false;
}
std::istream& operator >> (std::istream &in, Student &S)
{
	in >> S.ma;
	return in;
}
std::ostream& operator << (std::ostream &out, Student S)
{
	out << S.ma;
	return out;
}
